<!--{template common/header}-->
<div id="pt" class="bm cl">
	<div class="z">
		<a href="./" class="nvhm" title="{lang homepage}">$_G[setting][bbname]</a> <em>&rsaquo;</em>
		<!--{if $diymode}--><a href="home.php?mod=space&uid=$space[uid]">{$space[username]}</a> <em>&rsaquo;</em><!--{/if}-->
		<a href="home.php?mod=space&uid=$space[uid]&do=share&view=me&from=space">{lang share}</a>
	</div>
</div>
<style id="diy_style" type="text/css"></style>
<div class="wp">
	<!--[diy=diy1]--><div id="diy1" class="area"></div><!--[/diy]-->
</div>
<div id="ct" class="ct2 ct2_sp wp cl">
	<!--{if $diymode}-->
		<!--{template home/space_menu}-->
		<div class="bm">
			<div class="bm_c cl">
	<!--{/if}-->
	<div class="sd">
		<!--[diy=diy2]--><div id="diy2" class="area"></div><!--[/diy]-->
	</div>
	<div class="mn">
		<!--[diy=diycontenttop]--><div id="diycontenttop" class="area"></div><!--[/diy]-->
		<!--{if $_G[uid] && empty($diymode)}-->
			<ul class="tb tb_w cl">
				<li$actives[we]><a href="home.php?mod=space&do=share&view=we">{lang friend_share}</a></li>
				<li$actives[me]><a href="home.php?mod=space&do=share&view=me">{lang my_share}</a></li>
				<li$actives[all]><a href="home.php?mod=space&do=share&view=all">{lang view_all}</a></li>
			</ul>
		<!--{/if}-->
		<div class="{if empty($diymode)}bm {/if}bml">
			<div class="bm_c">

			<!--{if helper_access::check_module('share') && $space[self]}-->
				<!--{template home/space_share_form}-->
			<!--{/if}-->

			<p class="tbmu bw0">
				{lang order_by_type}:
				<a href="$navtheurl&type=all"$sub_actives[type_all]>{lang share_all}</a><span class="pipe">|</span>
				<a href="$navtheurl&type=link"$sub_actives[type_link]>{lang share_link}</a><span class="pipe">|</span>
				<a href="$navtheurl&type=video"$sub_actives[type_video]>{lang share_video}</a><span class="pipe">|</span>
				<a href="$navtheurl&type=music"$sub_actives[type_music]>{lang share_music}</a><span class="pipe">|</span>
				<a href="$navtheurl&type=flash"$sub_actives[type_flash]>{lang share_flash}</a><span class="pipe">|</span>
				<!--{if helper_access::check_module('blog')}-->
				<a href="$navtheurl&type=blog"$sub_actives[type_blog]>{lang share_blog}</a><span class="pipe">|</span>
				<!--{/if}-->
				<!--{if helper_access::check_module('album')}-->
				<a href="$navtheurl&type=album"$sub_actives[type_album]>{lang share_album}</a><span class="pipe">|</span>
				<a href="$navtheurl&type=pic"$sub_actives[type_pic]>{lang share_pic}</a><span class="pipe">|</span>
				<!--{/if}-->
				<a href="$navtheurl&type=poll"$sub_actives[type_poll]>{lang share_poll}</a><span class="pipe">|</span>
				<a href="$navtheurl&type=space"$sub_actives[type_space]>{lang share_space}</a><span class="pipe">|</span>
				<a href="$navtheurl&type=thread"$sub_actives[type_thread]>{lang share_thread}</a>
				<!--{if helper_access::check_module('portal')}-->
				<span class="pipe">|</span>
				<a href="$navtheurl&type=article"$sub_actives[type_article]>{lang share_article}</a>
				<!--{/if}-->
			</p>

			<!--{if $list}-->
				<ul id="share_ul" class="el sl">
					<!--{loop $list $k $value}-->
						<!--{template home/space_share_li}-->
					<!--{/loop}-->
				</ul>
				<!--{if $pricount}-->
					<p class="mtm">{lang hide_share}</p>
				<!--{/if}-->
				<!--{if $multi}--><div class="pgs cl mtm">$multi</div><!--{/if}-->
			<!--{else}-->
				<ul id="share_ul" class="el sl"></ul>
				<p class="emp">{lang not_share_yet}</p>
			<!--{/if}-->

			<!--{if !$_G[setting][homepagestyle]}--><!--[diy=diycontentbottom]--><div id="diycontentbottom" class="area"></div><!--[/diy]--><!--{/if}-->

			</div>
		</div>
	</div>
	<!--{if $diymode}-->
			</div>
		</div>
	<!--{/if}-->
</div>

<!--{if !$_G[setting][homepagestyle]}-->
	<div class="wp mtn">
		<!--[diy=diy3]--><div id="diy3" class="area"></div><!--[/diy]-->
	</div>
<!--{/if}-->

<script type="text/javascript">
	function succeedhandle_shareadd(url, msg, values) {
		share_add(values['sid']);
	}
</script>
<!--{template common/footer}-->